<section class="content-header">
    <h1>

    </h1>
</section>
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box-tools">
                <div class="input-group input-group-sm" style="width: 150px;">
                    <a href="{:url('/Index/User/user/add')}" class="btn btn-block btn-info" data-toggle="modal" data-target="#base_user_modal">添加用户</a>
                </div>
            </div>

            <div class="box">

                <div class="box-header">
                    <h3 class="box-title">用户列表</h3>

                    <div class="box-tools">

                    </div>
                </div>
                <!-- /.box-header -->

                <div class="box-body table-responsive no-padding">
                    <table class="table table-hover">
                        <tbody>
                            <tr>
                                <th>标号</th>
                                <th>用户昵称</th>
                                <th>用户名</th>

                                <th>创建时间</th>

                                <th>角色</th>



                                <th>操作</th>
                            </tr>
                            {volist name="data_list" id="vo" key="key"}
                            <tr>
                                <td>{$key}</td>
                                <td>{$vo.nickname}</td>
                                <td>{$vo.username}</td>

                                <td>{$vo.create_time}</td>

                                <td>{$vo.role['name']}</td>


                                <td>
                                    <a href="javascript:;" data-url="{:url('/Index/User/user/del')}" param="{$vo.id}" class="btn label-danger data_del_items">删除</a>

                                    <a href="{:url('/Index/User/user/edit',['id'=>$vo.id])}" class="btn label-info" data-toggle="modal" data-target="#base_user_modal">编辑</a>

                                </td>
                            </tr>
                            {/volist}
                        </tbody>
                    </table>

                    <div class="col-sm-7">
                        {$page}

                    </div>
                </div </div>
            </div>
        </div>
</section>
<div class="modal " id="base_user_modal">
    <div class="modal-dialog ">
        <div class="modal-content "></div>
    </div>
</div>
<script src="/public/admin/js/common.js"></script>